package com.topisv.tms.repository.work.prepkg;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import com.topisv.tms.entity.work.prepkg.PrepkgUpDetail;

/**
 * 上架记录（预包装流程）_DAO
 * @author ch
 *
 */
public abstract interface PrepkgUpDetailDao extends PagingAndSortingRepository<PrepkgUpDetail, Long>, JpaSpecificationExecutor<PrepkgUpDetail>
{

	@Query("select t from PrepkgUpDetail t where t.taskCode=?")
	List<PrepkgUpDetail> loadByTaskCode(String taskCode);

}